package entity;

public class Box {
	public Cell cellarr[]=new Cell[40];;
	
	public Box(){	
		cellarr[0] = new Cell(40,60,'N');
        cellarr[1] = new Cell(173,60,'N');
        cellarr[2] = new Cell(273,60,'S');
        cellarr[3] = new Cell(373,60,'N');
        cellarr[4] = new Cell(473,60,'N');
        cellarr[5] = new Cell(573,60,'E');
        cellarr[6] = new Cell(673,60,'N');
        cellarr[7] = new Cell(773,60,'N');
        cellarr[8] = new Cell(873,60,'U');
        cellarr[9] = new Cell(973,60,'N');
        cellarr[10]= new Cell(1073,60,'N');
        cellarr[11]= new Cell(1073,173,'N');
        cellarr[12]= new Cell(1073,273,'S');
        cellarr[13]= new Cell(1073,360,'N');
        cellarr[14]= new Cell(1073,460,'I');
        cellarr[15]= new Cell(1073,550,'E');
        cellarr[16]= new Cell(1073,650,'N');
        cellarr[17]= new Cell(1073,750,'N');
        cellarr[18]= new Cell(1073,850,'U');
        cellarr[19]= new Cell(1073,940,'N');
        cellarr[20]= new Cell(1073,1015,'N');
        cellarr[21]= new Cell(963,1015,'N');
        cellarr[22]= new Cell(863,1015,'S');
        cellarr[23]= new Cell(763,1015,'N');
        cellarr[24]= new Cell(663,1015,'N');
        cellarr[25]= new Cell(563,1015,'E');
        cellarr[26]= new Cell(463,1015,'N');
        cellarr[27]= new Cell(363,1015,'N');
        cellarr[28]= new Cell(263,1015,'U');
        cellarr[29]= new Cell(163,1015,'N');
        cellarr[30]= new Cell(40,1015,'N');
        cellarr[31]= new Cell(40,940,'N');
        cellarr[32]= new Cell(40,850,'S');
        cellarr[33]= new Cell(40,750,'N');
        cellarr[34]= new Cell(40,650,'I');
        cellarr[35]= new Cell(40,550,'E');
        cellarr[36]= new Cell(40,460,'N');
        cellarr[37]= new Cell(40,360,'N');
        cellarr[38]= new Cell(40,273,'U');
        cellarr[39]= new Cell(40,173,'N');
	};
	
	public int getX(int number){
		return cellarr[number].getX();
	}
	
	public int getY(int number){
		return cellarr[number].getY();
	}
	
	public char getType(int number){
		return cellarr[number].getType();
	}
}
